const {DataTypes, db, } = require("../db");
db.define('cargoLog', {
    id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,},
    tenantId: {type:DataTypes.INTEGER,allowNull:false,comment:'租户',  },
    op: {type: DataTypes.STRING,},
    cardId: {type: DataTypes.INTEGER,},
    uid: {type: DataTypes.INTEGER,},
    data: {type: DataTypes.STRING,},
    ctime: {type: DataTypes.STRING,},
    ip: {type: DataTypes.STRING,},
}, {
    tableName: 'cargo_log',
    timestamps: false
});